import request from '@/utils/request'

// 查询退役士兵信息采集分		列表
export function listRetired_soldier(query) {
  return request({
    url: '/archive_info/retired_soldier/list',
    method: 'get',
    params: query
  })
}

// 查询退役士兵信息采集分		详细
export function getRetired_soldier(id) {
  return request({
    url: '/archive_info/retired_soldier/' + id,
    method: 'get'
  })
}

// 新增退役士兵信息采集分		
export function addRetired_soldier(data) {
  return request({
    url: '/archive_info/retired_soldier',
    method: 'post',
    data: data
  })
}

// 修改退役士兵信息采集分		
export function updateRetired_soldier(data) {
  return request({
    url: '/archive_info/retired_soldier',
    method: 'put',
    data: data
  })
}

// 删除退役士兵信息采集分		
export function delRetired_soldier(id) {
  return request({
    url: '/archive_info/retired_soldier/' + id,
    method: 'delete'
  })
}

// 导出退役士兵信息采集分		
export function exportRetired_soldier(query) {
  return request({
    url: '/archive_info/retired_soldier/export',
    method: 'get',
    params: query
  })
}